package com.hmdp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmdp.dto.LoginFormDTO;
import com.hmdp.dto.Result;
import com.hmdp.dto.UserRequest;
import com.hmdp.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
public interface IUserService extends IService<User> {

    void sendCode(String phone);

    String login(LoginFormDTO loginForm);

    void logout(String token);

    void signUp();

    int queryUserSignOfCount();

    long queryMonthlyUVStatistics();

    void register(UserRequest userRequest);
}
